<?php
/*========================================= JooSam =========================================/
/																							/
/	Extention:		JooSam																	/
/	Created by:		ScriptPlanet.eu															/
/	Site:			http://www.scriptplanet.eu												/
/	Email:			support@scriptplanet.eu													/
/	Support:		http://www.scriptplanet.eu/support										/
/	Copyright:		2011 (c) ScriptPlanet.eu												/
/	License:		CC BY-NC-ND 3.0 ~ http://creativecommons.org/licenses/by-nc-nd/3.0/		/
/	File Version:	0001																	/
/																							/
/========================================== JooSam ========================================*/

// Joomla security
defined('_JEXEC') or die;

## Import Joomla Data
jimport('joomla.application.component.modellist');

class JoosamModelTextstrings extends JModelList{
	
	## Get SQL Data
	protected function getListQuery(){
		$db = JFactory::getDBO();
		$query = $db->getQuery(true);
		$query->select('id,samerror,txtstring,isdef');
		$query->from('#__joosam_txt');
		$query->order('id asc');
		return $query;
	}
}
?>